﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>修改密码</title>
		<link rel="stylesheet" href="css_js/css/bootstrap.min.css" />
		<link rel="stylesheet" href="dist/layui/css/layui.css">
		<link rel="stylesheet" href="dist/css/pass.css" />
		<link rel="stylesheet" href="dist/css/common.css" />
		<script src="dist/controller/passCtrl.js"></script>
		<script src="../node_server4/construct/app/user/controllers/ModifyInfoCtrl.js"></script>
		<script src="dist/controller/add_proCtrl.js"></script>
	</head>
	<body ng-app="App" ng-controller="passCtrl">
		<div class="bg_color">
			<nav class="navbar text-center">
				<div class="nav_body">
					<img ng-click="go_back()" class="pull-left btn_top_left" src="dist/images/point/left.png">
					<span class="tit_title">修改密码</span>
				</div>
			</nav>
			<section>
				<form class="form-horizontal">
					<div class="original_form">
						<label class="col-xs-3 span_list_one control-label">原密码</label>
							<input type="password"
								   id="oldpasswd"
								   ng-model="data.oldpasswd"
								   minlength="8" maxlength="20"
								   class="form-control input_tele original_pass" />
					</div>
					<div class="new_form">
						<label class="col-xs-3 span_list_one control-label">新密码</label>
							<input type="password"
								   id="password1"
								   ng-model="data.newpasswd1"
								   minlength="8" maxlength="20"
								   placeholder="(最少8位)"
								   class="form-control input_tele new_pass" />
					</div>
					<div class="sure_form">
						<label class="col-xs-3 span_list_one control-label">确认密码</label>
							<input type="password"
								   id="password2"
								   ng-model="data.newpasswd2"
								   minlength="8" maxlength="20"
								   placeholder="(最少8位)"
								   class="form-control input_tele sure_pass" />
					</div>
					<div class="margin_36">
						<span class="errMsg" style="color:red;" ng-show="errMsg">{{errMsg}}</span>
						<button ng-click="sure_submit()" type="button" class="btn_args pass_green">确定修改</button>
					</div>
				</form>
			</section>
		</div>
		<script src="css_js/js/jquery.min.js"></script>
        <script src="css_js/js/angular.min.js"></script>
        <script src="css_js/js/angular-cookies.min.js"></script>
		<script src="css_js/js/bootstrap.min.js"></script>
		<script src="css_js/layui/layui.all.js"></script>
        <script src="dist/controller/config.js"></script>
		<script src="dist/controller/passCtrl.js"></script>
		<!--<script>
            //密码验证
            function isPassword(pass){
                var str = pass;
                if(str==null || str.length<8 || str.length>17){
                    return false;
                }
                var reg1 = new RegExp(/^[0-9A-Za-z]+$/);
                if (!reg1.test(str)) {
                    return false;
                }else{
                    return true;
                }
            }
		</script>-->
	</body>
</html>